package com.qk.mybatis.pojo;

import java.util.Date;

public class Student {
	private int id;
	private int sid;
	private String firstname;
	private String lastname;
	private String gender;
	private String phone;
	private String email;
	private Date dateofbirth;
	private StudentStatus studentstatus;

	public Date getDateofbirth() {
		return dateofbirth;
	}

	public void setDateofbirth(Date dateofbirth) {
		this.dateofbirth = dateofbirth;
	}

	public StudentStatus getStudentstatus() {
		return studentstatus;
	}

	public void setStudentstatus(StudentStatus studentstatus) {
		this.studentstatus = studentstatus;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getSid() {
		return sid;
	}

	public void setSid(int sid) {
		this.sid = sid;
	}

	public String getFirstname() {
		return firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	public String getLastname() {
		return lastname;
	}

	public void setLastname(String lastname) {
		this.lastname = lastname;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public String toString() {
		return "Student [id=" + id + ", sid=" + sid + ", firstname=" + firstname + ", lastname=" + lastname
				+ ", gender=" + gender + ", phone=" + phone + ", email=" + email + ", dateofbirth=" + dateofbirth
				+ ", studentstatus=" + studentstatus + "]";
	}

}
